package com.erbao.dp.builder;

/**
 * @author CaoBaoYin
 * @since 21/9/27 14:54
 */
public class Main {

    public static void main(String[] args) {
        TerrainBuilder terrainBuilder = new ComplexTerrainBuilder();
        Terrain terrain = terrainBuilder.buildWall().buildMine().buildFort().build();

        Person person = new Person.PersonBuilder().basicInfo(1, "erbao", 28)
//                .score(100)
                .weight(120)
//                .loc("bj", "23")
                .build();

    }

}
